package com.xinruke.hostels.common.po;

import javax.persistence.Column;
import javax.persistence.Table;
import java.util.Date;

@Table(name = "yewuyonghu_caozuo_rizhi")
public class YewuyonghuCaozuoRizhi {

    /**
     * 操作，登录
     */
    public final static String YEWUYONGHUCAOZUORIZHI_CAOZUO_DENGLU = "denglu";
    /**
     * 操作，用户管理
     */
    public final static String YEWUYONGHUCAOZUORIZHI_CAOZUO_YONGHU = "yonghu";

    /**
     * id
     */
    private Integer id;

    /**
     * 用户Id
     */
    @Column(name = "yewuyonghu_id")
    private Integer yewuyonghuId;

    /**
     * 用户名称
     */
    private String yewuyonghumingcheng;

    /**
     * 菜单名称
     */
    private String caidanmingcheng;

    /**
     * 操作
     */
    private String caozuo;

    /**
     * 创建时间
     */
    private Date chuangjianshijian;

    /**
     * 备注
     */
    private String beizhu;

    /**
     * @param caidanmingcheng 菜单名称
     * @param caozuo          操作
     * @param beizhu          备注
     */
    public YewuyonghuCaozuoRizhi(String caidanmingcheng, String caozuo, String beizhu) {
        this.caidanmingcheng = caidanmingcheng;
        this.caozuo = caozuo;
        this.chuangjianshijian = new Date();
        this.beizhu = beizhu;
    }

    /**
     * 获取id
     *
     * @return id - id
     */
    public Integer getId() {
        return id;
    }

    /**
     * 设置id
     *
     * @param id id
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * 获取用户Id
     *
     * @return yewuyonghu_id - 用户Id
     */
    public Integer getYewuyonghuId() {
        return yewuyonghuId;
    }

    /**
     * 设置用户Id
     *
     * @param yewuyonghuId 用户Id
     */
    public void setYewuyonghuId(Integer yewuyonghuId) {
        this.yewuyonghuId = yewuyonghuId;
    }

    /**
     * 获取用户名称
     *
     * @return yewuyonghumingcheng - 用户名称
     */
    public String getYewuyonghumingcheng() {
        return yewuyonghumingcheng;
    }

    /**
     * 设置用户名称
     *
     * @param yewuyonghumingcheng 用户名称
     */
    public void setYewuyonghumingcheng(String yewuyonghumingcheng) {
        this.yewuyonghumingcheng = yewuyonghumingcheng;
    }

    /**
     * 获取菜单名称
     *
     * @return caidanmingcheng - 菜单名称
     */
    public String getCaidanmingcheng() {
        return caidanmingcheng;
    }

    /**
     * 设置菜单名称
     *
     * @param caidanmingcheng 菜单名称
     */
    public void setCaidanmingcheng(String caidanmingcheng) {
        this.caidanmingcheng = caidanmingcheng;
    }

    /**
     * 获取操作
     *
     * @return caozuo - 操作
     */
    public String getCaozuo() {
        return caozuo;
    }

    /**
     * 设置操作
     *
     * @param caozuo 操作
     */
    public void setCaozuo(String caozuo) {
        this.caozuo = caozuo;
    }

    /**
     * 获取创建时间
     *
     * @return chuangjianshijian - 创建时间
     */
    public Date getChuangjianshijian() {
        return chuangjianshijian;
    }

    /**
     * 设置创建时间
     *
     * @param chuangjianshijian 创建时间
     */
    public void setChuangjianshijian(Date chuangjianshijian) {
        this.chuangjianshijian = chuangjianshijian;
    }

    /**
     * 获取备注
     *
     * @return beizhu - 备注
     */
    public String getBeizhu() {
        return beizhu;
    }

    /**
     * 设置备注
     *
     * @param beizhu 备注
     */
    public void setBeizhu(String beizhu) {
        this.beizhu = beizhu;
    }
}